package db;

import java.util.Date;

/**
 * AbstractReceivepurmat entity provides the base persistence definition of the
 * Receivepurmat entity. @author MyEclipse Persistence Tools
 */

public abstract class AbstractReceivepurmat implements java.io.Serializable {

	// Fields

	private Integer id;
	private Integer materialId;
	private String batch;
	private Integer placeId;
	private String proCode;
	private Integer purNum;
	private Integer importNum;
	private Float purPrice;
	private Date date;
	private Integer receiveOrderId;
	private Integer teamId;
	private Integer subStore;
	private Integer userId;
	private Integer useNum;
	private Integer isDelete;
	private Integer storeNum;
	private Material material;
	private Place place;
	private Receiveorder receiveorder;
	private Substore substore;
	private Project project;

	// Constructors

	public Material getMaterial() {
		return material;
	}

	public void setMaterial(Material material) {
		this.material = material;
	}

	public Place getPlace() {
		return place;
	}

	public void setPlace(Place place) {
		this.place = place;
	}

	public Receiveorder getReceiveorder() {
		return receiveorder;
	}

	public void setReceiveorder(Receiveorder receiveorder) {
		this.receiveorder = receiveorder;
	}

	public Substore getSubstore() {
		return substore;
	}

	public void setSubstore(Substore substore) {
		this.substore = substore;
	}

	public Project getProject() {
		return project;
	}

	public void setProject(Project project) {
		this.project = project;
	}

	/** default constructor */
	public AbstractReceivepurmat() {
	}

	/** full constructor */
	public AbstractReceivepurmat(Integer materialId, String batch,
			Integer placeId, String proCode, Integer purNum, Integer importNum,
			Float purPrice, Date date, Integer receiveOrderId, Integer teamId,
			Integer subStore, Integer userId, Integer useNum, Integer isDelete,
			Integer storeNum) {
		this.materialId = materialId;
		this.batch = batch;
		this.placeId = placeId;
		this.proCode = proCode;
		this.purNum = purNum;
		this.importNum = importNum;
		this.purPrice = purPrice;
		this.date = date;
		this.receiveOrderId = receiveOrderId;
		this.teamId = teamId;
		this.subStore = subStore;
		this.userId = userId;
		this.useNum = useNum;
		this.isDelete = isDelete;
		this.storeNum = storeNum;
	}

	// Property accessors

	public Integer getId() {
		return this.id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public Integer getMaterialId() {
		return this.materialId;
	}

	public void setMaterialId(Integer materialId) {
		this.materialId = materialId;
	}

	public String getBatch() {
		return this.batch;
	}

	public void setBatch(String batch) {
		this.batch = batch;
	}

	public Integer getPlaceId() {
		return this.placeId;
	}

	public void setPlaceId(Integer placeId) {
		this.placeId = placeId;
	}

	public String getProCode() {
		return this.proCode;
	}

	public void setProCode(String proCode) {
		this.proCode = proCode;
	}

	public Integer getPurNum() {
		return this.purNum;
	}

	public void setPurNum(Integer purNum) {
		this.purNum = purNum;
	}

	public Integer getImportNum() {
		return this.importNum;
	}

	public void setImportNum(Integer importNum) {
		this.importNum = importNum;
	}

	public Float getPurPrice() {
		return this.purPrice;
	}

	public void setPurPrice(Float purPrice) {
		this.purPrice = purPrice;
	}

	public Date getDate() {
		return this.date;
	}

	public void setDate(Date date) {
		this.date = date;
	}

	public Integer getReceiveOrderId() {
		return this.receiveOrderId;
	}

	public void setReceiveOrderId(Integer receiveOrderId) {
		this.receiveOrderId = receiveOrderId;
	}

	public Integer getTeamId() {
		return this.teamId;
	}

	public void setTeamId(Integer teamId) {
		this.teamId = teamId;
	}

	public Integer getSubStore() {
		return this.subStore;
	}

	public void setSubStore(Integer subStore) {
		this.subStore = subStore;
	}

	public Integer getUserId() {
		return this.userId;
	}

	public void setUserId(Integer userId) {
		this.userId = userId;
	}

	public Integer getUseNum() {
		return this.useNum;
	}

	public void setUseNum(Integer useNum) {
		this.useNum = useNum;
	}

	public Integer getIsDelete() {
		return this.isDelete;
	}

	public void setIsDelete(Integer isDelete) {
		this.isDelete = isDelete;
	}

	public Integer getStoreNum() {
		return this.storeNum;
	}

	public void setStoreNum(Integer storeNum) {
		this.storeNum = storeNum;
	}

}